package com.dk.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;

@Data
@TableName("tb_order_item")
public class TbOrderItem {

    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    @TableField(value = "cars_id")
    private Long carsId;

    @TableField(value = "order_id")
    private Long orderId;

    @TableField(value = "title")
    private String title;

    @TableField(value = "total_fee")
    private BigDecimal totalFee;

    @TableField(value = "pic_path")
    private String picPath;

    @TableField(value = "seller_id")
    private Long sellerId;

    @TableField(value = "order_num")
    private String orderNum;

    @TableField(value = "trade_num")
    private String tradeNum;

    @TableField(value = "status")
    private String status;

}
